package com.lzw.DailyAudit.service.dateAggregation_02.DailyAudit.mapper;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.hooya.fa.eu.biz.DailyAudit.entity.CheckProfitBO;
import com.hooya.fa.eu.biz.DailyAudit.entity.dto.StockListDTO;
import com.hooya.fa.eu.biz.DailyAudit.entity.dto.StockQtyDTO;
import com.hooya.fa.eu.biz.DailyAudit.entity.dto.kcjlDataDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DailyTempKcjlDailyMapper {

    List<StockQtyDTO> getBeginQty(@Param("preMonthEnd") String preMonthEnd);

    List<StockQtyDTO> getEndQty(@Param("curMonthEnd") String curMonthEnd);

	@DS("fa_eu_daily")
    List<kcjlDataDTO> getDataByEnddate(@Param("end") String end);

	@DS("fa_eu")
    List<StockListDTO> getBeginQty_StockList(@Param("start") String start);

	@DS("fa_eu")
    List<StockListDTO> getEndQty_StockList(@Param("end") String end);

	@DS("fa_eu_daily")
    List<CheckProfitBO> getCheckKcList(@Param("date") String date);

}